public IModelA LoadA(int id) { IModelA modelA = _modelFactory.CreateModelA(); // fill modelA with data from database return(modelA); }