예제 #1
0
        public string AddBloodStorage([FromBody] BloodStorage bloodStorage)
        {
            string response = DBcon.AddBloodStorage(conn, bloodStorage.ShelfLife, bloodStorage.BloodType, bloodStorage.RHFactor, bloodStorage.Shipped,
                                                    "addBloodStorage");

            return(response);
        }
예제 #2
0
 public string UpdateBloodStorage([FromBody] BloodStorage bloodStorage)
 {
     DBcon.UpdateBloodStorage(conn, bloodStorage.BID, bloodStorage.Shipped, "updateBloodStorage");
     return("Update was successful");
 }