public static Order GetByPatientPhone(string patientPhone) { var query = SqlQueryGeneration.GetOrderByPathientPhone(patientPhone); var orders = _sqlManager.GetOrder(query); FillObjectData(ref orders); return(orders.FirstOrDefault()); }