public HttpResponseMessage DeleteAll()
 {
     try
     {
         repository.RemoveAll();
         return(Request.CreateResponse(HttpStatusCode.OK));
     }
     catch (UnauthorizedAccessException)
     {
         return(Request.CreateResponse(HttpStatusCode.Unauthorized));
     }
     catch (Exception)
     {
         return(Request.CreateResponse(HttpStatusCode.InternalServerError));
     }
 }
 public HttpResponseMessage DeleteAll()
 {
     repository.RemoveAll();
     return(Request.CreateResponse(HttpStatusCode.OK));
 }