I have a method in DAL like:
public bool GetSomeValue(int? a, int?b, int c)
{
//check a Stored Proc in DB and return true or false based on values of a, b and c
}
In this method, I am passing two nullable types, because these values can be null (and checking them as null in DB Stored Proc). I don't want to use magic numbers, so is it ok passing nullables types like this (from performance as well as architecture flexibility perspective)?