public static Hour HourFetch(int hourId) { var result = Hour.FetchHour( new HourDataCriteria { HourId = hourId }); result.Auditor = new HourAuditor(result.Clone()); return result; }
public static bool HourDelete(int hourId) { return(HourRepository.HourDelete( HourRepository.HourFetch(hourId))); }