Example #1
0
        /// <summary>
        /// 修理工列表
        /// </summary>
        /// <returns></returns>
        public async Task <IActionResult> RepairManList()
        {
            var comm = await _communityService.FirstOrDefult(p => p.AdminId == loginDto.CurrentId.Value);

            var model = new QueryRepairManModel();

            if (IsSuper() != 1)
            {
                model.communnityId = comm?.Id;
            }
            ViewBag.SearchModel = model;
            return(View());
        }