//Save Restaraunt public Task <int> SaveRestarauntAsync(Restaraunt_table restaraunt) { if (restaraunt.Restaraunt_ID == 0) { return(database.InsertAsync(restaraunt)); } else { return(database.UpdateAsync(restaraunt)); } }
//Delete Restaraunt public Task <int> DeleteEmployeeAsync(Restaraunt_table restaraunt) { return(database.DeleteAsync(restaraunt)); }