public async Task <IActionResult> Create([Bind("ContactTypeValue,Id")] BLL.App.DTO.ContactType contactType)
        {
            if (ModelState.IsValid)
            {
                _bll.ContactTypes.Add(contactType);
                await _bll.SaveChangesAsync();

                return(RedirectToAction(nameof(Index)));
            }
            return(View(contactType));
        }
        public async Task <IActionResult> Edit(int id, [Bind("ContactTypeValue,Id")] BLL.App.DTO.ContactType contactType)
        {
            if (id != contactType.Id)
            {
                return(NotFound());
            }

            if (ModelState.IsValid)
            {
                _bll.ContactTypes.Update(contactType);
                await _bll.SaveChangesAsync();

                return(RedirectToAction(nameof(Index)));
            }
            return(View(contactType));
        }