public ActionResult <Response> AddFleet(FleetTable fleet) { try { fleet.Id = new Guid(); fleet.DateAcquired = DateTime.Now; fleet.DateAcquired = DateTime.Now; return(new Response() { ResponseCode = HttpStatusCode.Created, Message = "Created Successfully", Data = _dataService.AddFleet(fleet), Status = true }); } catch (Exception e) { return(new Response { Status = false, Message = "Something went wrong from our part, and we are currently working on it.", ResponseCode = HttpStatusCode.OK }); } }