public CreateModel(WebPortalAPI.Data.ApplicationDbContext context, IMapper mapper, IHostingEnvironment env) { _context = context; _env = env; _mapper = mapper; FileUpload = new FileUploadVM(_context, _env); }
public EditModel(WebPortalAPI.Data.ApplicationDbContext context, IHostingEnvironment env, IMapper mapper) { _context = context; _mapper = mapper; _env = env; fileuploadVM = new FileUploadVM(_context, _env); }
public DetailsModel(WebPortalAPI.Data.ApplicationDbContext context) { _context = context; }
public IndexModel(WebPortalAPI.Data.ApplicationDbContext context) { _context = context; //CrimeDepartment crime = new CrimeDepartment(); }
public IndexModel(WebPortalAPI.Data.ApplicationDbContext context) { _context = context; }
public CreateModel(WebPortalAPI.Data.ApplicationDbContext context, IMapper mapper, IHostingEnvironment env) { _context = context; _mapper = mapper; _env = env; }