Beispiel #1
0
        public IActionResult AddFileSize(LimitedSize model)
        {
            if (ModelState.IsValid)
            {
                userRepository.SaveFileSize(model);
                return(RedirectToAction("FileSize"));
            }

            return(View(model));
        }
Beispiel #2
0
 public MRCnnResponse()
 {
     Predictions = new LimitedSize <ModelResponse>(10);
 }
Beispiel #3
0
        public IActionResult AddFileSize(int id)
        {
            LimitedSize model = id == default ? new LimitedSize() : userRepository.GetFileSizeById(id);

            return(View(model));
        }