static BllMapper() { Mapper.AddRule <UserBll, UserDal>(); Mapper.AddRule <PictureBll, PictureDal>(); Mapper.AddRule <PictureProfileBll, PictureProfileDal>(); Mapper.AddRule <RoleBll, RoleDal>(); Mapper.AddRule <AvatarDal, AvatarBll>(); }
static ModelMapper() { Mapper.AddRule <RegisterUserModel, UserBll>(); }