public void Delete(int id) { if (!db.RemoveRoute(id)) { throw new HttpResponseException(HttpStatusCode.NotFound); } }
public int RemoveRoute(int id) { return(rep.RemoveRoute(id)); }
public void Delete(int id) { if (!db.RemoveRoute(id)) { throw new HttpResponseException(HttpStatusCode.NotFound); } }
public int RemoveRoute(int id) { return(rep.RemoveRoute(id)); }