public ICollection <SummaryBLL> OnOffered(VacansyBLL vacansy) { return(CustomMapper.getSummaries(uow.VacansyRepository.Get() .FirstOrDefault(c => c.Purpose == vacansy.Purpose && c.Salary == vacansy.Salary && c.Description == vacansy.Description) .OfferedSummarys).ToList()); }
public ICollection <SummaryBLL> OnSuggestedSummaries(VacansyBLL vacansy) { return(CustomMapper.getSummaries(uow.SummaryRepository.Get() .Where(c => c.Position == vacansy.Purpose)).ToList()); }