[InterceptLogger(1)] | |
public class TaskFakeService : ITaskService | |
{ | |
public int GetById(int id) | |
{ | |
return 1; | |
} | |
[InterceptExceptions(2)] | |
public IList<int> GetAll() | |
{ | |
throw new AggregateException(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment