public async Task <IHttpActionResult> DeleteDepartment(DeleteDepartmentDto input) { //TODO: validate var result = await _departmentServices.DeleteAsync(input.Id); return(Ok(result)); }
public async Task <ActionResult> Delete(string code) { return(Ok(await _DepartmentServices.DeleteAsync(code))); }