Exemple #1
0
        public string ThongTinBenhAn(string id)
        {
            BenhAn ba = BenhAnProcessor.ThongTinBenhAn(id);

            if (ba.Maba == null)
            {
                return("NULL");
            }
            return(JsonConvert.SerializeObject(ba));
        }
Exemple #2
0
 public string XoaBenhAn(string id)
 {
     return(BenhAnProcessor.XoaBenhAn(id));
 }
Exemple #3
0
 public string SuaBenhAn([FromBody] BenhAn ba)
 {
     return(BenhAnProcessor.SuaBenhAn(ba));
 }
Exemple #4
0
 public string DanhMucBenhAn()
 {
     return(JsonConvert.SerializeObject(BenhAnProcessor.DanhMucBenhAn()));
 }
Exemple #5
0
 public string ThemBenhAn([FromBody] BenhAn ba)
 {
     return(BenhAnProcessor.ThemBenhAn(ba));
 }