Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ public partial class History : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
Bank bank = BankProvider.Instance.GetBank(this.Application, true, true);
BankUser user = bank.GetUserByLogin(Page.User.Identity.Name);
Bank bank = BankProvider.Instance.GetBank(this.Application, true, true);

Check warning

Code scanning / dotTEST

Use spaces for tabs/indentation

Add 2 or remove 2 spaces

Check warning

Code scanning / dotTEST

Avoid too many function calls from a single function

Avoid too many function calls (64)
BankUser user = bank.GetUserByLogin(Page.User.Identity.Name);

string accountNumber = Request["account"];
if (accountNumber != null)
Expand Down