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