Example #1
0
        public async Task <IActionResult> AddSalaryInfo(bool msg = false, bool delete = false)
        {
            ViewBag.msg    = msg;
            ViewBag.delete = delete;
            var data = await _repo2.GetSalaryInfo();

            ViewData["salary"] = data;
            ViewBag.titles     = new SelectList(await _repo2.GetTitles(), "JobId", "JobName");
            return(View());
        }