public void Delete(Todos request)
 {
     Repository.DeleteByIds(request.Ids);
 }
        }                                               //Injected by IOC

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