All Questions
1 question
5
votes
2
answers
1k
views
Shoud I throw exceptions to UI layer or handle them in my VM layer
Consider the following method:
public async Task LoginAsync()
{
if (!CanLoginAsyncExecute()) throw new ValidationException();
try
{
StartLoading();
...