using Lab9.Models; namespace Lab9.Repositories { public interface IRepository { public IList GetAllNews(); public IList GetAllNewsByDate(DateTime date); public IList GetAllNewsByCategory(string category); public IList GetAllNewsByCategoryAndDate(string category, DateTime date); public bool ValidateUser(string username, string password); public bool InsertNews(News news); public bool UpdateNews(News news); public News? GetNewsById(int id); } }