public Attribute MapToOrm(DalAttribute entity) { return(new Attribute { id = entity.Id, name = entity.Name, }); }
public BllAttribute MapToBll(DalAttribute entity) { BllAttribute bllEntity = new BllAttribute { Id = entity.Id, Name = entity.Name, }; return(bllEntity); }
public DalAttribute MapToDal(BllAttribute entity) { DalAttribute dalEntity = new DalAttribute { Id = entity.Id, Name = entity.Name, }; return(dalEntity); }