protected void btnGet_DirectClick(object sender, DirectEventArgs e) { //ShiftTime st = new ShiftTime(); ShifTimeService stService = new ShifTimeService(); Store str = grdST.GetStore(); str.DataSource = stService.GetAll(); str.DataBind(); }
public IEnumerable <ShiftTime> GetAll() { return(shifTimeService.GetAll()); }