public object Get(TechnologyReviewIds technologyReviewIds) { return technologyReviewIds.Ids.IsEmpty() ? Repository.GetAll() : Repository.GetByIds(technologyReviewIds.Ids); }
public void Delete(TechnologyReviewIds technologyReviewIds) { Repository.DeleteByIds(technologyReviewIds.Ids); }
} //Injected by IOC public object Get(TechnologyReviewIds technologyReviewIds) { return(technologyReviewIds.Ids.IsEmpty() ? Repository.GetAll() : Repository.GetByIds(technologyReviewIds.Ids)); }