CourseWork_KPO/CandidateReviewContracts/StoragesContracts/ICompanyStorage.cs

17 lines
611 B
C#

using CandidateReviewContracts.BindingModels;
using CandidateReviewContracts.SearchModels;
using CandidateReviewContracts.ViewModels;
namespace CandidateReviewContracts.StoragesContracts
{
public interface ICompanyStorage
{
List<CompanyViewModel> GetFullList();
List<CompanyViewModel> GetFilteredList(CompanySearchModel model);
CompanyViewModel? GetElement(CompanySearchModel model);
CompanyViewModel? Insert(CompanyBindingModel model);
CompanyViewModel? Update(CompanyBindingModel model);
CompanyViewModel? Delete(CompanyBindingModel model);
}
}