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

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