コード例 #1
0
        //[ChildActionOnly]
        public IActionResult TeslimTarihiYaklasan()
        {
            var result = _iOduncAlservice.GetTeslimTarihi();

            if (result.Success)
            {
                return(PartialView("_TeslimPartialView", result.Data));
            }
            return(null);
        }
コード例 #2
0
        public IViewComponentResult Invoke()
        {
            var result = _service.GetTeslimTarihi();
            TeslimTarihiAlertViewModel entity = new TeslimTarihiAlertViewModel();

            if (result.Success)
            {
                entity.TeslimTarihiYaklasan = result.Data;
            }
            return(View(entity));
        }