public HttpResponseMessage GetServiceById(Guid? id)
 {
     try
     {
         var servicesService = new ServicessService();
         var service = servicesService.GetServiceById(id);
         var response = Request.CreateResponse(HttpStatusCode.OK, service);
         return response;
     }
     catch (Exception e)
     {
         var error = Request.CreateResponse(HttpStatusCode.InternalServerError, e.Message);
         return error;
     }
 }
 public HttpResponseMessage AddNewService(SERVICE service)
 {
     try
     {
         service.ISACTIVE = true;
         var servicesService = new ServicessService();
         var id = servicesService.AddNewService(service);
         var response = Request.CreateResponse(HttpStatusCode.OK, id);
         return response;
     }
     catch (Exception e)
     {
         var error = Request.CreateResponse(HttpStatusCode.InternalServerError, e.Message);
         return error;
     }
 }