public HttpStatusCode CheckOffItemFromList(int itemId, int listId) { if (listQueries.CheckOffItemFromList(listId, itemId)) { return(HttpStatusCode.OK); } return(HttpStatusCode.InternalServerError); }
public HttpStatusCode CheckOffItemFromList(int itemId, int listId) { if (listQueries.CheckOffItemFromList(listId, itemId)) { return(HttpStatusCode.OK); } return(HttpStatusCode.InternalServerError); }