// GET: Admin/CompanyInfo
        public ActionResult Index()
        {
            var viewModel = _iCompanyInfoService.GetCompanyInfo();

            viewModel.Logo = viewModel.Logo ?? Constants.NOIMAGE;
            return(View(viewModel));
        }
Example #2
0
        private void GetCustomerData()
        {
            var info = _companyInfoService.GetCompanyInfo();

            Name            = info.Name;
            MobilePhone     = info.MobileNumber;
            DuringOrders    = info.DuringOrders;
            CompletedOrders = info.CompletedOrders;
        }
Example #3
0
        // GET: Contact
        public ActionResult Index()
        {
            var data = _companyInfoService.GetCompanyInfo();

            return(View(data));
        }