public IActionResult CreateDivision(DivisionVM divisionVM, int id)
        {
            var create = _divisionRepository.Create(divisionVM, id);

            if (create > 0)
            {
                return(Ok(create));
            }
            return(BadRequest("Not Successfully"));
        }
        public IActionResult Post(DivisionVM divisionVM)
        {
            var post = _divisionRepository.Create(divisionVM);

            if (post > 0)
            {
                return(Ok(post));
            }
            return(BadRequest("Can't be created"));
        }
 public async Task <Division> Create(Division division)
 {
     return(await _divisionRepository.Create(division));
 }