public BranchModel Edit(BranchModel item)
        {
            var data = item.ConvertToData();

            using (_unitOfWorkFactory.Create())
            {
                _repository.Update(data);
            }
            return(data.ConvertToModel());
        }
        private BranchModel Create(BranchModel item)
        {
            var data = item.ConvertToData();

            using (_unitOfWorkFactory.Create())
            {
                _repository.Add(data);
            }


            return(data.ConvertToModel());
        }