using LCU.Api.Internal.FTPLib.Models.Enums; using LCU.Api.Internal.FTPLib.Models; namespace LCU.Api.Internal.FTP.Helpers; public class FtpRequestResponseHelper { public static FtpRequestResponse ExceptionUpdateRequestResponse(FtpRequestResponse requestResponse, FtpType ftpType, string exception) { requestResponse.IsSuccessful = false; requestResponse.MessageStack.Add($"Failure to execute ftp action. " + $"FtpType: {ftpType}, " + $"Exception: {exception} "); return requestResponse; } }