public async Task <IHttpActionResult> DeleteDepartment(DeleteDepartmentDto input)
        {
            //TODO: validate
            var result = await _departmentServices.DeleteAsync(input.Id);

            return(Ok(result));
        }
Exemple #2
0
 public async Task <ActionResult> Delete(string code)
 {
     return(Ok(await _DepartmentServices.DeleteAsync(code)));
 }