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

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