예제 #1
0
 public static HttpResponseMessage SoftDeleteLocation(int locationId, bool isOpen)
 {
     try
     {
         int val = LocationDal.SoftDeleteLocation(locationId, isOpen);
         return(new HttpResponseMessage(HttpStatusCode.OK));
     }
     catch (Exception ex)
     {
         Console.WriteLine("EXCEPTION: " + ex);
         return(new HttpResponseMessage(HttpStatusCode.BadRequest));
     }
 }