public override Result <AddressModel> Find(IFilter filter) { try { Address address = _addressDAL.Find((AddressFilter)filter); AddressModel addressModel = _mapper.Map <AddressModel>(address); return(Result <AddressModel> .BuildSuccess(addressModel)); } catch (Exception error) { return(Result <AddressModel> .BuildError("Erro ao localizar o endereço.", error)); } }