Ejemplo n.º 1
0
 /// <summary>
 /// DoctorPagerDetail
 /// </summary>
 /// <param name="a"></param>
 public DoctorPagerDetail(DoctorPaper a)
 {
     ImageFie      = a.ImageFie;
     DoctorName    = a.DoctorName;
     DoctorID      = a.DoctorID;
     PaperTiltle   = a.PaperTiltle;
     PaperContent  = a.PaperContent;
     PaperFrom     = a.PaperFrom;
     ConsultNumber = a.ConsultNumber;
     PaperAddress  = a.PaperAddress;
     Checker       = a.Checker;
     CheckState    = a.CheckState;
     CheckRemark   = a.CheckRemark;
     CheckTime     = a.CheckTime;
     Id            = a.Id;
     ConsultID     = a.ConsultID;
     CreatedOn     = a.CreatedOn;
 }
Ejemplo n.º 2
0
 public async Task <DoctorPaper> DeleteDoctorPaper(DoctorPaper DoctorPaperInfo)
 {
     return(await _repository.UpdateAsync(DoctorPaperInfo));
 }
Ejemplo n.º 3
0
        public async Task <DoctorPaper> CreateDoctorPaper(DoctorPaper DoctorPaperInfo)
        {
            DoctorPaperInfo.Id = await _repository.InsertAndGetIdAsync(DoctorPaperInfo);

            return(DoctorPaperInfo);
        }