public void Update(PositionModel entity, int databaseId) { serv.Update(iMapper.Map <PositionModel, Position>(entity), databaseId); }
public PositionModel Create(PositionModel entity, int databaseId) => iMapper.Map <Position, PositionModel>(serv.Create(iMapper.Map <PositionModel, Position>(entity), databaseId));