public IActionResult add(PartnersDto partnersDto, IFormFile file = null)
        {
            try
            {
                if (ModelState.IsValid)
                {
                    if (file != null)
                    {
                        string fileName = partnersDto.name;
                        partnersDto.logo_name = _fileHelper.saveImageAndGetFileName(file, fileName);
                    }
                    _partnersService.save(partnersDto);
                    AlertHelper.setMessage(this, "Partners saved successfully.", messageType.success);

                    return(RedirectToAction("index"));
                }
            }
            catch (Exception ex)
            {
                AlertHelper.setMessage(this, ex.Message, messageType.error);
            }
            return(View(partnersDto));
        }