public async Task <IActionResult> Upsert(Bank obj)
        {
            if (ModelState.IsValid)
            {
                //--------Image File handling------
                var files = HttpContext.Request.Form.Files;
                if (files.Count > 0)
                {
                    byte[] image1 = null;
                    using (var fs1 = files[0].OpenReadStream())
                    {
                        using (var ms1 = new MemoryStream()) {
                            fs1.CopyTo(ms1);
                            image1 = ms1.ToArray();
                        }
                    }
                    obj.IdentificationImage = image1;
                }
                else
                {
                    var objFromDb = await _bankRepo.GetAsync(SD.BankAPIPath, obj.Id);

                    obj.IdentificationImage = objFromDb.IdentificationImage;
                }

                if (obj.Id == 0)
                {
                    await _bankRepo.CreateAsync(SD.BankAPIPath, obj);
                }
                else
                {
                    await _bankRepo.UpdateAsync(SD.BankAPIPath + obj.Id, obj);
                }
                return(RedirectToAction(nameof(Index)));
            }
            else
            {
                return(View(obj));
            }
        }