public Professor AddProfessor(Professor professor) { _logger.Log(LogLevel.Debug, "Request Received for ProfessorBLL::AddProfessor"); var createdProfessor = _professorDal.AddProfessor(professor); _logger.Log(LogLevel.Debug, "Returning the results from ProfessorBLL::AddProfessor"); return(createdProfessor); }
public async Task <Professor> AddProfessor(Professor professor) { _logger.Log(LogLevel.Debug, "Request Received for ProfessorBLL::AddProfessor"); var newProfessor = await _professorDal.AddProfessor(professor); _logger.Log(LogLevel.Debug, "Returning the results from ProfessorBLL::AddProfessor"); return(newProfessor); }