Ejemplo n.º 1
0
        public ActionResult XeKhoiHanh(int NhaXeId, int CustomerId, int XeXuatBenId, string apiToken)
        {
            string _checkauthentication = isAuthentication(NhaXeId, CustomerId, apiToken, XeXuatBenId);

            if (!String.IsNullOrEmpty(_checkauthentication))
            {
                return(ErrorOccured(_checkauthentication));
            }
            _nhaxeService.UpdateHistoryXeXuatBenTrangThai(XeXuatBenId, currentNhanVien.Id, ENTrangThaiXeXuatBen.DANG_DI);
            return(SuccessfulSimple("OK"));
        }