// TODO: LSP Violation (ProductRepository doesn't implement GetByIdAsync)
 #endregion
 async Task <T> GetByIdFromRepository <T>(BaseRepository <T> baseRepo, int id) where T : Entity
 {
     return(await baseRepo.GetByIdAsync(id));
 }