コード例 #1
0
        public ActionResult ChangeDelivererStatus(string id, bool available)
        {
            MongoDBDataProvider provider = new MongoDBDataProvider();

            provider.DelivererSetAvailable(new MongoDB.Bson.ObjectId(id), available);
            return(Redirect("/Management"));
        }