public async Task <HttpResponseMessage> Delete([FromBody] GenderDto gender)
        {
            try
            {
                var response = Request.CreateResponse(HttpStatusCode.OK, await logic.DeactivateGender(gender));
                logger.Info("Delete gender successful");
                return(response);
            }

            catch (Exception ex)
            {
                LogHelper.ErrorLogger(logger, ex);
                return(Request.CreateResponse(HttpStatusCode.BadRequest));
            }
        }