Пример #1
0
        public IHttpActionResult DeleteRepgroupById(int id)
        {
            var response = new DataResponse <bool>();

            response = repository.Delete(id);
            return(Ok <DataResponse>(response));
        }
        public IHttpActionResult Delete(int repgroupid)
        {
            var repository = new RepositoryRepGroups();
            var response   = repository.Delete(repgroupid);

            return(Ok <DataResponse>(response));
        }