1)public class DbDisconnectionException : ApplicationException
{
public override string Message
{
get { return string.Format("Don`t worry, some problems withconnection."); }
}
}
2) public decimalLugageCost(decimal weight)
{
//Some Coefficient, used to calculation cost
const decimalCoefficient = 0;
return Coefficient*weight;
}
Comments
Leave a comment