C# Class Mhotivo.Implement.Repositories.ImportDataRepository

Inheritance: IImportDataRepository
ファイルを表示 Open project: armejiaf/Mhotivo

Public Methods

Method Description
GetDataSetFromExcelFile ( System.Web.HttpPostedFileBase getFile ) : DataSet
Import ( DataSet oDataSet, Mhotivo.Data.Entities.AcademicYear academicYear ) : void
ImportDataRepository ( IPasswordGenerationService passwordGenerationService, IParentRepository parentRepository, IStudentRepository studentRepository, IEnrollRepository enrollRepository, IAcademicYearRepository academicYearRepository, IUserRepository userRepository ) : System

Private Methods

Method Description
SaveData ( IEnumerable listStudents, IEnumerable listParents, Mhotivo.Data.Entities.AcademicYear academicYear, List emails ) : void

Method Details

GetDataSetFromExcelFile() public method

public GetDataSetFromExcelFile ( System.Web.HttpPostedFileBase getFile ) : DataSet
getFile System.Web.HttpPostedFileBase
return System.Data.DataSet

Import() public method

public Import ( DataSet oDataSet, Mhotivo.Data.Entities.AcademicYear academicYear ) : void
oDataSet System.Data.DataSet
academicYear Mhotivo.Data.Entities.AcademicYear
return void

ImportDataRepository() public method

public ImportDataRepository ( IPasswordGenerationService passwordGenerationService, IParentRepository parentRepository, IStudentRepository studentRepository, IEnrollRepository enrollRepository, IAcademicYearRepository academicYearRepository, IUserRepository userRepository ) : System
passwordGenerationService IPasswordGenerationService
parentRepository IParentRepository
studentRepository IStudentRepository
enrollRepository IEnrollRepository
academicYearRepository IAcademicYearRepository
userRepository IUserRepository
return System