Ejemplo n.º 1
0
        public IHttpActionResult UpdateStocktaking(Stocktaking s)
        {
            bool returnValue = _db.UpdateStocktaking(s);

            if (returnValue)
            {
                return(new MyActionResult("S", HttpStatusCode.OK, Request));
            }
            else
            {
                return(new MyActionResult("F", HttpStatusCode.OK, Request));
            }
        }