Beispiel #1
0
 public object Get(ToolIds toolIds)
 {
     return toolIds.Ids.IsEmpty()
                ? Repository.GetAll()
                : Repository.GetByIds(toolIds.Ids);
 }
Beispiel #2
0
 public void Delete(ToolIds toolIds)
 {
     Repository.DeleteByIds(toolIds.Ids);
 }
Beispiel #3
0
 public void Delete(ToolIds toolIds)
 {
     Repository.DeleteByIds(toolIds.Ids);
 }
Beispiel #4
0
        }                                              //Injected by IOC

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