public override Task <GetAllDeptDTO> Update(CreateDeptDTO input) { if (empDomainService.EmployeeExists(input.ManagerId)) { return(base.Update(input)); } throw new ArgumentException(); }