Last active
May 4, 2020 02:13
-
-
Save ZhenDeng/4b360ebe4998d31ef903b6ef0b8ed7d4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public async Task<int> AutoCreateWelfareManagementWorkTrayItems(int defaultRunTerm, int defaultRunWeek) | |
{ | |
async Task<int> Func() | |
{ | |
return worktrayItemsCreatedCount; | |
} | |
return await ExecuteAsync(Func); | |
} | |
public async Task<ServiceResponse<int>> TerminateCourse(DateTime dateTime) | |
{ | |
Func<Task<int>> func = async delegate | |
{ | |
return terminatingProcesses.Count; | |
}; | |
return await ExecuteAsync(func); | |
} | |
public class ServiceResponse<T> : ServiceResponse | |
{ | |
public ServiceResponse(); | |
public T Result { get; set; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment