Toggl.Services.TimeEntryService.Delete C# (CSharp) Method

Delete() public method

https://www.toggl.com/public/api#del_time_entries
public Delete ( int id ) : TimeEntry
id int
return TimeEntry
        public TimeEntry Delete(int id)
        {
            var url = string.Format(ApiRoutes.TimeEntry.TimeEntryUrl, id);

            var timeEntry = ToggleSrv.Delete(url).GetData<TimeEntry>();

            return timeEntry;
        }