public MessageModel <EditBankDTO> AddReceiveBank(AddReceiveBankRequest request) { ReceiveBank bank = new ReceiveBank { SwiftCode = request.SwiftCode, Code = request.Code, VietName = request.VietName, EnName = request.EnName, TwName = request.TwName, SortNum = request.SortNum, }; bool result = bankService.AddReceiveBank(bank); EditBankDTO bankDTO = mapper.Map <EditBankDTO>(bank); return(new MessageModel <EditBankDTO> { Success = result, Msg = result ? "" : "Add Fail", Data = bankDTO }); }