Blog.Logic.Core.EducationLogic.Update C# (CSharp) Method

Update() public method

public Update ( Education education ) : Education
education Blog.Common.Contracts.Education
return Blog.Common.Contracts.Education
        public Education Update(Education education)
        {
            try
            {
                return EducationMapper.ToDto(_educationRepository.Edit(EducationMapper.ToEntity(education)));
            }
            catch (Exception ex)
            {
                throw new BlogException(ex.Message, ex.InnerException);
            }
        }