public IHttpActionResult AddGender(Gender s_Gender) { if (!ModelState.IsValid) { return(BadRequest(ModelState)); } _GenderService.Add(s_Gender); return(StatusCode(HttpStatusCode.NoContent)); }