Domain-Driven Refactoring: Long Methods

added by DotNetKicks
7/22/2021 2:39:22 PM

611 Views

Posts in this series: IntroProcedural BeginningsLong MethodsIn the last post, I walked through the main, immediate code smell we saw of a long method, and I would classify this method as long: public class AssignOfferHandler : IRequestHandler<AssignOfferRequest> { private readonly AppDbContext _appDbContext; private readonly HttpClient _httpClient; public AssignOfferHandler( AppDbContext


0 comments