Exemplo n.º 1
0
 public object Get(ToolReviewIds toolReviewIds)
 {
     return toolReviewIds.Ids.IsEmpty()
                ? Repository.GetAll()
                : Repository.GetByIds(toolReviewIds.Ids);
 }
Exemplo n.º 2
0
 public void Delete(ToolReviewIds technologyReviewIds)
 {
     Repository.DeleteByIds(technologyReviewIds.Ids);
 }
Exemplo n.º 3
0
 public void Delete(ToolReviewIds technologyReviewIds)
 {
     Repository.DeleteByIds(technologyReviewIds.Ids);
 }
Exemplo n.º 4
0
        }                                                        //Injected by IOC

        public object Get(ToolReviewIds toolReviewIds)
        {
            return(toolReviewIds.Ids.IsEmpty()
                       ? Repository.GetAll()
                       : Repository.GetByIds(toolReviewIds.Ids));
        }