18 lines
397 B
C#
18 lines
397 B
C#
using KoogleApp.Entities;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Koogle.Domain.Interfaces
|
|
{
|
|
public interface IDayRepository
|
|
{
|
|
Task<List<Day>> GetAllAsync(int year);
|
|
Task<Day?> GetActiveDayAsync();
|
|
Task<Day> AddAsync(Day day);
|
|
Task<Day> UpdateAsync(Day day);
|
|
}
|
|
}
|