protected void AddEntry_Click(object sender, System.EventArgs e) { TimeTrackerWebRole.AppCode.BLL.TimeEntry timeEntry = new TimeTrackerWebRole.AppCode.BLL.TimeEntry(Page.User.Identity.Name, Convert.ToInt32(CategoryList.SelectedValue), Convert.ToDecimal(Hours.Text), DateTime.Now, UserList.SelectedValue); timeEntry.Description = Description.Text; timeEntry.Save(); Description.Text = string.Empty; Hours.Text = string.Empty; ProjectListGridView.DataBind(); }
public abstract bool UpdateTimeEntry(TimeEntry timeEntry);
//TimeEntry public abstract int CreateNewTimeEntry(TimeEntry newTimeEntry);