public IHttpActionResult RemoveField(int? fieldID) { if (fieldID == null || fieldID == 0) { return BadRequest("FieldID cannot be null"); } fieldSvc.RemoveField((int)fieldID); return Ok(); }