public int AddTakeSampleHistory(t_TakeSampleHistory history) { try { history.IsNotified = false; context.t_TakeSampleHistory.Add(history); context.SaveChanges(); return(1); } catch (Exception ex) { return(-1); } }
public int AddTakeSampleHistory(t_TakeSampleHistory history) { return(TakeSampleHistoryRepository.AddTakeSampleHistory(history)); }