public async Task <ActionResult> DeleteAdmin([FromHeader] Guid Id) { if (!ModelState.IsValid) { return(BadRequest(ModelState)); } try { return(Ok(await _service.DeleteAdmin(Id))); } catch (ArgumentException ex) { return(StatusCode((int)HttpStatusCode.InternalServerError, ex.Message)); } }