Example #1
0
        public ActionResult CleanImei(int id)
        {
            var courier = _courierService.FirstOrDefault(o => o.Id == id);

            courier.Imei   = string.Empty;
            courier.Status = (int)StatusCourier.Offline;
            _courierService.UpdateWithouCheckBussinessRule(courier);
            return(Json(true, JsonRequestBehavior.AllowGet));
        }