public IHttpActionResult GetEntities() { var data = _DropDownService.GetEntities(); if (data == null) { return(NotFound()); } return(Ok(data)); }