using AutoMapper;
using Diploms.Core;
using Diploms.Dto.Departments;

namespace Diploms.Services.Departments
{
    public class DepartmentsMappings : Profile
    {
        public DepartmentsMappings()
        {
            CreateMap<DepartmentEditDto, Department>();
        }
    }
}
Add mapping profile for departments
Add mapping profile for departments
