public async Task <ActionResult <Locations> > Post(Locations value)
        {
            System.Diagnostics.Debug.WriteLine("Testing");
            var entity = await _service.Create(value);

            if (entity != null)
            {
                return(Ok(entity));
            }
            else
            {
                return(BadRequest("something broke "));
            }
        }
 public ActionResult <Location> Post(Location location)
 {
     _locationsService.Create(location);
     return(location);
 }