public APIResponse AddDistrict([FromBody] District Request) { APIResponse Response = new APIResponse(); if (Request == null) { Response.StatusCode = "100"; Response.StatusDescription = "BAD REQUEST"; } else if (string.IsNullOrEmpty(Request.Code) || string.IsNullOrEmpty(Request.Name) || string.IsNullOrEmpty(Request.UserID)) { Response.StatusCode = "101"; Response.StatusDescription = "Missing Request Value"; } else { Response = bll.AddDistrict(Request); } return(Response); }